package cn.kgc.commons.constant;

/**
 * <p>系统常量</p>
 *
 */
public class SystemConstant {
    public static final int EXCEPTION_CODE = 90001;  //系统默认异常编码

    //jwt中的key
    public static final String JWT_USER_INFO_KEY="jwt-token-user-info";

    /**RSA 公钥**/
    public static final String PUBLIC_KEY="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs+fIBiG19v1VlDIXB5IR4q+Xv0NBMFgtgoH2M/GhWGd2CUAemxxhytqm/D5D6G9uGLdjElSZT0K95cRyXMLxuXI8WTzEm2IUajePpa1Z4tS3Lo5IC+W/o42JJ6VRWCKjBGjrcm/QhN7+6IkbzJ/36j6BnBw5PtRHm5MxghrKxUYNP1VQDx27Iv3zb/iW0Wmj1Wm9fUGrYOr4f9+Tj8qpa2v4RJh0G/2DbQjD9zJNQbkUg3hCIAKIMO+Lu4TQJvvuPsRFuJvcJZx1WedHJClSUIrC7T0wu6jkB7pfEQHZfR1o7mZV5o9yNXOg83MKymqfjb93+YWHEZlV6yWlVE4v8wIDAQAB";

    /**
     * 注册操作时redis手机验证码前缀
     */
    public static final String REGISTER_PHONE_CODE = "register:phonecode:";

    /**
     * 手机验证码过期时间(分钟)
     */
    public static final int PHONE_CODE_TIMEOUT=1;
}
